package com.cloud.consumer.remote;

import com.cloud.api.model.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name= "spring-cloud-producer")
public interface UsersRemote {
    @RequestMapping(value = "/users")
    public List<Users> users();
}
